DDF improvement for button chords on Illumra Dual Rocker Switch (PTM215ZE Friends of Hue) #8038
+15
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
First of all, huge thanks to everyone (especially @mdolnik) involved in adding the initial support for this switch back in 2020. I've had one sitting in a bin and I finally got it working today thanks to PR #3285 !
I knew from previous experiments with this switch, that in addition to the 4 buttons already implemented, the switch also supports undocumented button "chords", through which additional automations can be assigned. See the stellar research user
rkjnsn
did here: https://www.reddit.com/r/Hue/comments/8s85g7/experience_with_illumra_rocker_switch_and_hue/Using the additional codes listed there, I added support for 4 additional "virtual" buttons on the Illumra Dual Rocker switch, which are accessed by pushing two of the other buttons simultaneously:
It may be kind of arcane, but it could be a cool easter egg. ;-) It's a very limited change thankfully.